<template>
	<view class="content">
		<view style="padding:36rpx 16rpx;">
			<g-title-wrap label="基础使用" label-width="550">
				<template slot='header'>
				</template>
				<g-switch v-model="value"></g-switch>
			</g-title-wrap>
			<g-divider></g-divider>
			<g-title-wrap label="禁用(disabled)" label-width="550">
				<template slot='header'>
				</template>
				<g-switch v-model="value2" disabled></g-switch>
				<g-switch v-model="value3" disabled></g-switch>
			</g-title-wrap>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value:true,
				value2:false,
				value3:true,
			};
		}
	}
</script>

<style lang="scss">

</style>
